﻿<baseClass:Control 
			xmlns:baseClass="clr-namespace:EFS.RC.SupervisorCentral.Controls" 
			x:Class="EFS.RC.SupervisorCentral.Controls.Agents.Search.AD"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" Loaded="Control_Loaded">
	
	<Control.Resources>
		<Style x:Key="LinkButton" TargetType="Button">
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="Button">
					  <ControlTemplate.Resources>
						<Style TargetType="{x:Type TextBlock}">
						  <Setter Property="TextDecorations" Value="Underline" />
						  <Style.Triggers>
							<Trigger Property="IsMouseOver" Value="true">
								<Setter Property="Foreground" Value="Red" />
								<Setter Property="TextDecorations" Value="None" />
							</Trigger>
						  </Style.Triggers>
						</Style>
					  </ControlTemplate.Resources>
					  <ContentPresenter />
					</ControlTemplate>
				</Setter.Value>
			</Setter>
			<Setter Property="Foreground" Value="Blue" />
			<Setter Property="Cursor" Value="Hand" />
			<Style.Triggers>
				<Trigger Property="IsMouseOver" Value="true">
					<Setter Property="Foreground" Value="Red" />
				</Trigger>
			</Style.Triggers>
		</Style>
	</Control.Resources>


	<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" MinHeight="300" MinWidth="600">
		<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="*"></ColumnDefinition>
			</Grid.ColumnDefinitions>
			<Grid.RowDefinitions>
				<RowDefinition Height="Auto"></RowDefinition>
				<RowDefinition Height="10"></RowDefinition>
				<RowDefinition Height="*"></RowDefinition>
				</Grid.RowDefinitions>
			<Label Content="Name:" HorizontalAlignment="Left" Margin="12,12,0,0" Name="label1" VerticalAlignment="Center" Width="45" />
			<TextBox Height="27" HorizontalAlignment="Stretch" Margin="72,8,12,0" Name="textBoxName" VerticalAlignment="Center" TextChanged="textBoxName_TextChanged" KeyDown="textBoxName_KeyDown" />
			<ListView Grid.Column="0" Grid.Row="2" HorizontalAlignment="Stretch" Margin="0,0,0,0" Name="listViewSurveys" VerticalAlignment="Stretch" SelectionMode="Single">
				<ListView.View>
					<GridView AllowsColumnReorder="False" x:Name="gridViewSurveys">
						<GridViewColumn Header="Logon Name" DisplayMemberBinding="{Binding LogonName}" Width="200" />
						<GridViewColumn Header="First Name" DisplayMemberBinding="{Binding FirstName}" Width="200" />
						<GridViewColumn Header="Last Name" DisplayMemberBinding="{Binding LastName}" Width="200" />
					</GridView>
				</ListView.View>
			</ListView>
		</Grid>
	</Grid>
</baseClass:Control>